<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>经销商进销存报告汇总人管理</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
 <link rel="stylesheet" type="text/css" href="__STATIC__/layout/css/plugins/webuploader/webuploader.css">
  <link rel="stylesheet" type="text/css" href="__STATIC__/layout/css/demo/webuploader-demo.css">


    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
   	.imgino{height: 68px;width: 68px;}
   	ul li{list-style: none;}
   	img[name="deng"]{width: 60px;height: 81px;}
   	.sp{
   		display: inline-block;
    padding-right: 38px;
    position: relative;
    /* height: 160px; */
    height: 125px;
   	}
   	.sp:first-child .bg{
   		    left: 50%;
    		margin-left: -16px
   	}
    .spPass{color: #75d343}
   	.me{height: 89px}
   	.me .passName{border: 2px solid #666666;}
   	.me .passTop{border-color: #666666 transparent transparent;
    top:18%;}
    .me .passButtom{bottom: -37%;}
    .me .passIcon{    background: url(__STATIC__/layout/img/me.png);
    background-repeat: no-repeat;}
   	.bg{
   	background: url(__STATIC__/layout/img/bgd.png) repeat 0px 50px;
    position: absolute;
    width: 80%;
    height: 50%;
     z-index: 1; 
     top: 34%; 
    top: 43%;
    left: 40%;
   	}
   	.passName{
   	border: 2px solid #28b76a;
   	position: relative;
    padding: 0px 8px;
    border-radius: 4px;
    word-break: keep-all;
    z-index: 3; 
    line-height: 18px;}
	.passTop{
	position: absolute;
    left: 50%;
    top: 73%;
    margin-left: -6px;
    margin-top: 17px;
    display: block;
    width: 0;
    height: 0;
    border-width: 8px 6px 0;
    border-style: solid dashed dashed;
    border-color: #28B76A transparent transparent;
    font-size: 0;
    line-height: 0;
	}
	.passButtom{
	    width: 0;
    height: 0;
    position: absolute;
    display: block;
    left: 50%;
    bottom:-6px;
    margin-left: -8px;
    margin-top: -9px;
    border-width: 10px 8px 0;
    border-style: dashed dashed solid;
    border-color:#fffefd transparent transparent;
    font-size: 0;
    line-height: 0;
	}
	.start .passIcon{
		background: url(__STATIC__/layout/img/tiJiaoLiuCheng.png);
   	   background-repeat: no-repeat
	}
	.passIcon{
			width: 20px;
    		height: 57px;
    		background: url(__STATIC__/layout/img/pass.png);
    		display: block;
    		margin-top: 28px;
    		position: absolute;
    		 z-index: 2; 
    		margin-left: -28px;
    		left: 50%;
    		background-repeat: no-repeat;
	}
	.shenpi{
		    /*display: none;*/
    		width: 200px;
    		height: auto;
    		position: absolute;
    		padding: 5px 10px;
    		border: 2px solid #bbbbbb;
    		border-radius: 4px;
    		margin-top: 40px;
    		margin-left: -91px;
    		background: #fffefd;
    		z-index: 11;
	}
	.shenpi .top{
		    width: 0;
    height: 0;
    position: absolute;
    display: block;
    left: 50%;
    top: 0;
    margin-left: -8px;
    margin-top: -12px;
    border-width: 0 8px 10px;
    border-style: dashed dashed solid;
    border-color: transparent transparent #bbbbbb;
    font-size: 0;
    line-height: 0;
    background: #fffefd;
	}
	.shenpi .buttom{
		    width: 0;
    height: 0;
    position: absolute;
    display: block;
    left: 50%;
    top: 0;
    margin-left: -8px;
    margin-top: -9px;
    border-width: 0 8px 10px;
    border-style: dashed dashed solid;
    border-color: transparent transparent #fffefd;
    font-size: 0;
    line-height: 0;
	}
  .dengPrice{font-size: 20px }
  .cainainActive{color: #54a9fc;border-bottom:2px solid #54a9fc;}
    </style>
  
 

</head>

<body class="gray-bg" style="padding: 3px;font-size: 13px">
	<div class="container bs-docs-container" style="background: #fff">
		<div class="bs-docs-section">
    	<div class="bs-example bs-example-type">
    	<table class="table row-margin-top text-center" >
      <tbody>
        <tr class="text-center">
          <td style="border:0">
            <img src="__STATIC__/layout/img/feiChangGui.png" style="float: left;" />
          	<div class="form-group text-center" style="float: left;margin-left: 31%">
             <h1>xx经销商渠道费用</h1>
            <p class="padding-10">申请人： <span>何越(华东大区经理)</span> </p> 
            </div>
          </td>
        </tr>
        <tr>
          <td>
          	<h2 class="text-center">基本信息</h2>
          	<img src="__STATIC__/layout/img/fengexian.png">
          	<div class="row padding-10" style="margin: 20px 0 30px">
                <div class="col-md-2">
              </div>
          		<div class="col-md-2">
          			<img src="__STATIC__/layout/img/customerOrDealer.png" class="imgino">
          			<ul>
          				<li class="text-success">区域/经销商</li>
          				<li class="">东南大区/福建省/福州市</li>
          				<li class="">杭州市清江贸易有限公司</li>
                  <li class="colorRed">核心经销商</li>
          			</ul>
          		</div>
          		<div class="col-md-2">
          			<img src="__STATIC__/layout/img/activityTime.png" class="imgino">
          			<ul>
          				<li class="text-success">活动时间</li>
          				<li class="">从 <span>2017-06-22</span></li>
          				<li class="">到 <span>2017-06-28</span></li>
          			</ul>
          		</div>
          		
          		<div class="col-md-2">
          			<img src="__STATIC__/layout/img/activityProduct.png" class="imgino">
          			<ul>
          				<li class="text-success">活动产品</li>
          				<li class="">06燕麦咸肉粽</li>
          				<li class="">. . .</li>
                  <li>(共 <span>2个产品</span> )</li>
          			</ul>
          		</div>
                  <div class="col-md-2">
                <img src="__STATIC__/layout/img/expenseType.png" class="imgino">
                <ul>
                  <li class="text-success">费用类型</li>
                  <li class="">主题活动费用</li>
                  <li class="">(共 <span>1</span>种类型)</li>
                </ul>
              </div>
                <div class="col-md-2">
              
              </div>
          	</div>
          </td>
        </tr>
        <tr>
          <td style="padding:0 0 20px">	
          	<h2 class="text-center">决策信息</h2>
          	<img src="__STATIC__/layout/img/fengexian.png">
          	<div class="row row-margin-top padding-10" style="margin:20px 0 40px">
              <div class="col-md-1"></div>
          		<div class="col-md-2">
          			<div style="height: 160px;">
          				<img src="__STATIC__/layout/img/feiYongE.png" name="
          			deng" class="huang" style="margin-top: 50px;">
                <p class="dengText" style="padding: 5px 0">费用额(元)</p>
          			<p class="dengPrice font-bold">2120<input title="压缩费用" type="button" onclick="yaSuoFeiYong();" style="border-radius: 0px;border: none;width: 21px;height: 22px;background-image: url(__STATIC__/layout/img/yasuofeiyong.png);"></p>
          			</div>
          		</div>
          		<div class="col-md-2">
          		  <div style="height: 160px;">
                  <img src="__STATIC__/layout/img/hong.png" name="
                deng" class="huang" style="margin-top: 50px;">
                <p class="dengText" style="padding: 5px 0">销量(元)/费用率(%)</p>
                <p class="dengPrice font-bold">1222/173.49%</p>
                </div>
          		</div>
          	<div class="col-md-2">
                <div style="height: 160px;">
                  <img src="__STATIC__/layout/img/hong.png" name="
                deng" class="huang" style="margin-top: 50px;">
                <p class="dengText" style="padding: 5px 0">ROI(%)</p>
                <p class="dengPrice font-bold">5.24%</p>
                </div>
              </div>
              <div class="col-md-2">
                <div style="height: 160px;">
                  <img src="__STATIC__/layout/img/hong.png" name="
                deng" class="huang" style="margin-top: 50px;">
                <p class="dengText" style="padding: 5px 0">费用预算</p>
                <p class="colorRed">超预算</p>
                </div>
              </div>
              <div class="col-md-2">
                <div style="height: 160px;">
                  <img src="__STATIC__/layout/img/lv.png" name="
                deng" class="huang" style="margin-top: 50px;">
                <p class="dengText" style="padding: 5px 0">活动是否重复</p>
                <p class="" style="color: #75d343">无重复申请</p>
                </div>
              </div>
               <div class="col-md-1"></div>
          	</div>
              <p class="padding-10 text-right"><button class="btn btn-sm btn-primary btnActivity" type="button">查看具体问题点</button></p>
             <table class="table-bordered table bud_hei row-margin-top tableActivity" style="display: none;">
              <tr class="info font-bold text-left">
                <td>问题具体说明：</td>
              </tr>
              <tr class="text-left">
                <td>
                  <p>1.本申请单费用率不符合公司规定，公司规定为：40.0%</p>
                  <p>2.“活动费”费用科目已超过费用预算。</p>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td>
          	<table class="table-bordered table bud_hei text-center row-margin-top">
          		<tr  class="info">
          			<td>活动时间</td>
          			<td>费用类型</td>
          			<td>产品</td>
          			<td>实际投入(元)</td>
          			<td>预计销量(元)</td>
                <td>预计费用率</td>
          			<td>支付方式</td>
          		</tr>
          		<tr class="text-right">
          			<td class="text-center">从2017-06-22<br>至2017-06-28</td>
                <td class="text-left">主题活动费用</td>
          			<td class="text-left">06燕麦咸肉粽</td>
          			<td class="ObjectNum">1060.00</td>
          		  <td class="ObjectNum">611.00</td>
          			<td>173.49%</td>
          			<td class="text-left">转账</td>
          		</tr>
                <tr class="text-right">
                <td class="text-center">从2017-06-22<br>至2017-06-28</td>
                <td class="text-left">主题活动费用</td>
                <td class="text-left">09燕麦咸肉粽</td>
                <td class="ObjectNum">1060.00</td>
                <td class="ObjectNum">611.00</td>
                <td>173.49%</td>
                <td class="text-left">转账</td>
              </tr>
          	</table>
          </td>
        </tr>
        <tr>
          <td>
            <div class="row">
                <div style="width: 30%; float: left;margin-left: 30px;font-size: 20px" class="font-bold" >
              <div id="jiDuBaoBiao" class="dealerBaoBiao form-group cainainActive"  style="float: left;padding: 4px 6px;cursor: pointer;">1月</div>

              <div style="width: 10px; border: 0px solid red; float: left;">&nbsp;</div>

              <div id="nianDuBaoBiao" class="dealerBaoBiaoTwo form-group" style="float: left;padding: 4px 6px;cursor: pointer;">2018</div>
            </div>
              <h2 class="text-center" style="float: left;margin-left: 12%">本财年客户情况</h2>
            </div>
            <img src="__STATIC__/layout/img/fengexian.png">
            <div class="padding-10">
              <div class="col-md-4">
                <table class="table text-left" style="margin:0 10px;border: 1px solid #e7eaec">
                  <tr>
                    <td colspan="2" class="text-center" style="border-bottom: 2px solid #54a9fc">目标达成率 <span class="font-bold" style="font-size: 20px;">-</span></td>
                  </tr>
                  <tr>
                      <td style="width: 50px;">
                      经销商目标
                    </td>
                    <td>
                      <div style="margin-top:20px;padding: 25px 1px 20px">
                         <div class="progress">
                        <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
                               60%
                         </div>
                      </div>
                      </div>
                    </td>
                  </tr>
                  <tr>
                      <td style="width: 50px;border: 0">
                      实际发运
                    </td>
                    <td style="border: 0">
                     <!--  <div style="margin-top:20px;padding: 25px 1px 20px">
                         <div class="progress">
                        <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
                               60%
                         </div>
                      </div>
                      </div> -->
                      0
                    </td>
                  </tr>
                  <tr>
                    <td colspan="2" class="text-right">单位：万元</td>
                  </tr>
                </table>
              </div>
              <div class="col-md-4">
                 <table class="table" style="margin:0 10px;border: 1px solid #e7eaec">
                  <tr>
                    <td colspan="2" class="text-center" style="border-bottom: 2px solid #54a9fc">剩余预算额 <span class="font-bold colorRed" style="font-size: 20px">0万元</span></td>
                  </tr>
                   <tr>
                      <td style="width: 50px;">
                      经销商目标
                    </td>
                    <td>
                      <div style="margin-top:20px;padding: 25px 1px 20px">
                         <div class="progress">
                        <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
                               60%
                         </div>
                      </div>
                      </div>
                    </td>
                  </tr>
                  <tr>
                      <td style="width: 50px;border: 0">
                      经销商预算额
                    </td>
                    <td style="border: 0">
                      <div style="margin-top:20px;padding: 25px 1px 20px">
                         <div class="progress">
                        <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
                               60%
                         </div>
                      </div>
                      </div>
                    </td>
                  </tr>
                  <tr>
                     <td colspan="2" class="text-right">单位：万元</td>
                  </tr>
                </table>
              </div>
              <div class="col-md-4">
                 <table class="table" style="margin:0 10px;border: 1px solid #e7eaec">
                  <tr>
                    <td colspan="2" class="text-center" style="border-bottom: 2px solid #54a9fc">预算≥实际 <span class="font-bold" style="font-size: 20px">0%</span></td>
                  </tr>
                    <tr>
                      <td style="width: 50px;">
                      预算费用率
                    </td>
                    <td>
                      <div style="margin-top:20px;padding: 25px 1px 20px">
                         <div class="progress">
                        <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
                               60%
                         </div>
                      </div>
                      </div>
                    </td>
                  </tr>
                  <tr>
                      <td style="width: 50px;border: 0">
                      实际费用率
                    </td>
                    <td style="border: 0">
                      <div style="margin-top:20px;padding: 25px 1px 20px">
                         <div class="progress">
                        <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
                               60%
                         </div>
                      </div>
                      </div>
                    </td>
                  </tr>
                  <tr>
                     <td colspan="2" class="text-right">单位：%</td>
                  </tr>
                </table>
              </div>
            </div>
          </td>
        </tr>
        <tr>
        	<td>
            <p class="padding-10 text-right">    <button class="btn btn-sm btn-primary btnActivity1" type="button">查看费用投入及预算详情</button><span class="lr_5"></span><a class="btn btn-sm btn-primary" href="javascript:;">查看活动申请明细</a></p>
            <div class=" tableActivity1"  style="display:none;">
                <table class="table-bordered table bud_hei text-center row-margin-top">
              <tr class="info">
                <td colspan="8" class="font-bold">费用投入详情(金额单位：元)</td>
              </tr>
              <tr  class="info">
                <td>品牌</td>
                <td>预计销售</td>
                <td>基准销量</td>
                <td>二级费用科目</td>
                <td>三级费用科目</td>
                <td>预计费用额</td>
                <td>预计费用率</td>
                <td>预计ROI</td>
              </tr>
              <tr class="text-right">
                <td class="text-left">阿华田</td>
                <td class="ObjectNum">2000</td>
                <td class="ObjectNum">1000</td>
                <td class="text-left">合同费</td>
                <td class="text-left">合同返利</td>
                <td class="ObjectNum">530</td>
                <td>26.50%</td>
                <td>94.34%</td>
              </tr>
                 <tr class="text-right">
                <td class="text-left">大和味</td>
                <td class="ObjectNum">2000</td>
                <td class="ObjectNum">1000</td>
                <td class="text-left">合同费</td>
                <td class="text-left">合同返利</td>
                <td class="ObjectNum">530</td>
                <td>26.50%</td>
                <td>75.34%</td>
              </tr>
              <tfoot>
                <tr class="font-bold">
                  <td>总计</td>
                  <td class="ObjectNum">4000</td>
                  <td class="ObjectNum">2000</td>
                  <td></td>
                  <td></td>
                  <td class="ObjectNum">1060</td>
                  <td></td>
                  <td></td>
                </tr>
              </tfoot>
            </table>
            <table class="table-bordered table bud_hei text-center">
              <tr class="info">
                <td colspan="10" class="font-bold">财年预算使用情况(金额单位：元)</td>
              </tr>
              <tr  class="info">
                <td>财政年度</td>
                <td>渠道类型</td>
                <td>产品品牌</td>
                <td>二级费用科目</td>
                <td>预算金额</td>
                <td>已批复金额</td>
                <td>未使用金额</td>
                <td>申请中金额</td>
                <td>本次申请金额</td>
                <td>红绿灯</td>
              </tr>
              <tr class="text-right">
                <td class="text-left">2017</td>
                <td class="text-left">零售</td>
                <td class="text-left">大和味</td>
                <td class="text-left">合同费</td>
                <td class="ObjectNum">0</td>
                <td class="ObjectNum">0</td>
                <td class="ObjectNum">0</td>
                <td class="ObjectNum">41218</td>
                <td class="ObjectNum">530</td>
                <td class="text-center middle">
                  <img src="__STATIC__/layout/img/yellow_25.png" style="vertical-align:bottom;">
                  <span>黄灯</span>
                </td>
              </tr>
                  <tr class="text-right">
                <td class="text-left">2017</td>
                <td class="text-left">零售</td>
                <td class="text-left">大和味</td>
                <td class="text-left">合同费</td>
                <td class="ObjectNum">0</td>
                <td class="ObjectNum">0</td>
                <td class="ObjectNum">0</td>
                <td class="ObjectNum">41218</td>
                <td class="ObjectNum">530</td>
                <td class="text-center middle">
                  <img src="__STATIC__/layout/img/red_25.png" style="vertical-align:bottom;">
                  <span>红灯</span>
                </td>
              </tr>
            </table>
            <p class="padding-10 text-left">
              温馨提示： <br>
              1.以上信息仅体现活动开始时间对应的财政年度的预算及预算是用信息。 <br>
              2.红灯表示已批复金额大于预算金额；绿灯表示未使用金额大于或等于申请中金额；黄灯表示未使用金额小于申请中金额。
            </p>
            <p class="padding-10 font-bold">本申请中包含1个经销商，其中合同返利： <span>1060</span>元。总费用： <span>1060</span>元。总预计销量： <span>4000.00</span>元；总费用率： <span>26.5</span>%；总ROI： <span>84.91</span>%</p>
            </div>
        	<h2 class="text-center">审批信息</h2>
        	<h6>本次申请已耗时 195天0时9分</h6>
          	<img src="__STATIC__/layout/img/fengexian.png">
         <div class="form-group white-bg text-left" style="margin:20px 10px 20px 20px;">
            <div id="uploader" class="wu-example">
                <!--用来存放文件信息-->
                <div id="thelist" class="uploader-list">
                                   </div>
                <div class="btns">
                    <div id="picker">选择文件</div>
                    <button id="ctlBtn" class="btn btn-default">开始上传</button>
                </div>
                <input type="hidden" name="attach" id="attach"  >
            </div>
            <span>注：最多上传15个文件，每个文件小于50M,支持格式：</span><br>jpg,bnp,gif,png,jpeg,tif,raw,doc,docx,xls,xlsx,ppt,pptx,txt,pdf,rar,zip,mp4,avi,rmvb,rm,mid,3gp,AVI,3GP,,mpg,mp3,wma,wav
        </div>
        	<table class="table-bordered table bud_hei">
        		<tr>
        			<td>选择抄送人员：</td>
        			<td>         <div class="input-group" style="float: left;">
                            <input id="area_id" type="text" placeholder="请输入关键字或空格查询" class="form-control" value="" style="min-width: 300px;width: 300px" autocomplete="off">
                            <div class="input-group-btn">
                                <ul class="dropdown-menu dropdown-menu-right" role="menu" style="padding-top: 0px; max-height: 375px; max-width: 800px; overflow: auto; width: auto; transition: 0.3s;">
                                </ul>
                            </div>
                        </div><a href="javascript:;" id="select_area" class="btn btn-primary btn-sm" style="float: left;">选择</a></td>
        		</tr>
        	 <tr>
            <td></td> 
            <td></td> 
           </tr>
        	</table>
    <div class="padding-10" style="margin-bottom: 30px">
        	<div class="sp start">
            	<div class="bg"></div>
        		<div class="passName">
            		<div class="passTop"></div>
                	<div class="passButtom"></div>
                	何越
                	<br>华东大区经理
                	<br>07-07 14:39
            	</div>
            	<span class="passIcon">
            		<div class="shenpi" align="left" style="display: none;">
                		<div class="top"></div>
                    	<div class="buttom"></div>
                    	提交人：<span>何越</span> <br>
                    	提交时间：<span>07-07 14:39</span><br>
                    
                    	
                	</div>
            	</span>
        	</div>
          <div class="sp">
          
              <div class="bg"></div>
            <div class="passName">
                <div class="passTop"></div>
                  <div class="passButtom"></div>
                  张晓明
                  <br>
                  <br>06-02 14:36
              </div>
              <span class="passIcon">
                <div class="shenpi" align="left" style="display: none;">
                    <div class="top"></div>
                      <div class="buttom"></div>
                      审批人：<span>张晓明</span> <span class="spPass">审批通过</span><br>
                      审批时间：<span>2017-06-02 14:36</span><br>
                      审批意见：<span>
              
              ok
            </span>
                      
                  </div>
              </span>
          </div>
        	<div class="sp me">
        		<div class="passName">
            		<div class="passTop"></div>
                	<div class="passButtom"></div>
                	我
            	</div>
            	<span class="passIcon">
            		<div class="shenpi" align="center" style="display: none;">
                		<div class="top"></div>
                    	<div class="buttom"></div>
                    	待审批
                	</div>
            	</span>
        	</div>
        	</div>
        	</td>
          </tr>
       <tr>
       	<td>
       		<div class="padding-10 text-left">审批意见</div>
       				<textarea class="form-control" name="" id="" style="resize: none;width: 95%;height: 120px"></textarea>
       	  <div class="row padding-10">
            <button class="btn btn-primary" type="button" id="bc">抄送归档</button>
            <button class="btn btn-danger" type="button">驳回拆分人</button>
      </div>
       	</td>
       </tr>
      </tbody>
    </table>
    	</div>
  </div>
	</div>
<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script src="__STATIC__/layout/js/plugins/suggest/bootstrap-suggest.min.js"></script> 
<script src="__STATIC__/layout/js/common.js"></script>

<script type="text/javascript">
	   var $ObjectNum =$(".ObjectNum");
             toNum($ObjectNum);

    $(".btnActivity").click(function(){
          var str = $(this).html()
        
          /*console.log(tr)*/
        if(str=="查看具体问题点"){
            $(".tableActivity").show();
            $(this).html("收起具体问题点");
          }else{
            $(".tableActivity").hide();
            $(this).html("查看具体问题点")
          }
           })
 $(".btnActivity1").click(function(){
          var str = $(this).html()
        
          /*console.log(tr)*/
        if(str=="查看费用投入及预算详情"){
            $(".tableActivity1").show();
            $(this).html("收起费用投入及预算详情");
          }else{
            $(".tableActivity1").hide();
            $(this).html("查看费用投入及预算详情")
          }
           })
/*请输入关键字或空格查询*/
  var jieshou = $("#area_id");
 sousuo(jieshou);
       function sousuo(id){
            id.bsSuggest({
            allowNoKeyword: false, //是否允许无关键字时请求数据
            multiWord: true, //以分隔符号分割的多关键字支持
            separator: ",", //多关键字支持时的分隔符，默认为空格
            getDataMethod: "url", //获取数据的方式，总是从 URL 获取
            url: 'http://unionsug.baidu.com/su?p=3&t=' + (new Date()).getTime() + '&wd=',
            /*优先从url ajax 请求 json 帮助数据，注意最后一个参数为关键字请求参数*/
            jsonp: 'cb',
            /*如果从 url 获取数据，并且需要跨域，则该参数必须设置*/
            processData: function (json) { // url 获取数据时，对数据的处理，作为 getData 的回调函数
                var i, len, data = {
                    value: []
                };
                if (!json || !json.s || json.s.length === 0) {
                    return false;
                }

                // console.log(json);
                len = json.s.length;

                jsonStr = "{'value':[";
                for (i = 0; i < len; i++) {
                    data.value.push({
                        word: json.s[i]
                    });
                }
                data.defaults = 'baidu';

                //字符串转化为 js 对象
                return data;
            }
        });

          }
	  $(document).on("click",".delthis",function(){
             	var _$this=this
             	console.log(_$this)
             		swal({ 
						  title: "", 
						  text: "确定删除！", 
						  type: "warning",
						  showCancelButton: true, 
						  confirmButtonColor: "#DD6B55",
						  confirmButtonText: "确定", 
						  cancelButtonText: "取消",
						  closeOnConfirm: false, 
						  closeOnCancel: false
						},
						function(isConfirm){ 
						  if (isConfirm) { 
						  	// console.log(_$this);
						  	$(_$this).closest("tr").remove();
						    swal("删除！", "成功","success"); 
						   
						  } else { 
						    swal("取消！", "","error"); 
						  } 
					});
             });

	  /*passIcon*/
	   $(function () {
            $(".passIcon").mouseover(function () {
                $(this).find(".shenpi").show();
            });
            $(".passIcon").mouseout(function () {
                $(this).find(".shenpi").hide();
            });
        });
</script>
</body>

</html>